﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.BaseService.Contract.Studio
{
    /// <summary>
    /// 工程交互服务
    /// </summary>
    public interface IProjectService : IBaseService
    {
        /// <summary>
        /// 检查工程已打开
        /// </summary>
        /// <returns></returns>
        bool CheckProjectOpened();

        /// <summary>
        /// 添SequenceF文件
        /// </summary>
        /// <param name="fileName"></param>
        /// <returns></returns>
        string NewSequenceFile(string fileName);
        
        /// <summary>
        /// 添加Flowchart文件
        /// </summary>
        /// <param name="fileName"></param>
        /// <returns></returns>
        string NewFlowchartFile(string fileName);

        /// <summary>
        /// 导入Xaml文件
        /// </summary>
        /// <param name="sourceFile"></param>
        /// <returns></returns>
        string ImportXamlFile(string sourceFile);
    }
}
